import React, { Component } from "react";

function Children(props) {
  const { name, age, height } = props
  return (
    <h2>{`${name}, ${age}, ${height}`}</h2>
  )
}

export default class App extends Component {
  render() {
    return (
      <div>
        <Children name="coderG" age={18} height="180cm" />
        <Children name="codeCML" age={18} height="160cm" />
      </div>
    )
  }
}